<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>手机号码生成器|web实验室</title>
	</head>
		<h3>手机号码生成器</h3>
		<span></span>
		<script>
			var span=document.getElementsByTagName(span);
			var sj=[parseInt(Math.random()*10),parseInt(Math.random()*10),parseInt(Math.random()*10),parseInt(Math.random()*10),parseInt(Math.random()*10),parseInt(Math.random()*10),parseInt(Math.random()*10),parseInt(Math.random()*10),parseInt(Math.random()*10),parseInt(Math.random()*10)]
			span.innerHTML="生成的手机号码:1"+sj[0]+sj[1]+sj[2]sj[3]+sj[4]+sj[5]+sj[6]+sj[7]+sj[8]+sj[9];
		</script>
</html>
